package com.spring.soundsystem;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/*@Configuration
@ComponentScan*/
public class CDPlayerConfig {
    public CompactDisc sgtPeppers(){
        return new SgtPeppers();
    }
    public CDPlayer cdPlayer(){
        return new CDPlayer(sgtPeppers());
    }

}
